home *** CD-ROM | disk | FTP | other *** search
/ Asymetrix Multimedia Toolbook 4.0 (CBT Edition) / Asymetric Multimedia Toolbook 4.0 (CBT Edition).iso / ctb40ap.z / SCRWALK.TBK (.txt) < prev    next >
Asymetrix ToolBook File  |  1996-01-10  |  149KB  |  2,439 lines

  1. *ClassTbl*
  2. *ClassEntry*
  3. *PTABLE*
  4. *WINDOWSEG*
  5. *ICONRESTAB*
  6. *ICONRESSEG*
  7. *ICONRES*
  8. Background
  9. *OBJTABLE*
  10. *IDTABLE*
  11. *NAMETAB*
  12. Rectangle
  13. Ellipse
  14. RoundedRectangle
  15. Polygon
  16. IrregularPolygon
  17. AngledLine
  18. Curve
  19. PaintObject
  20. Picture
  21. Group
  22. Stage
  23. Button
  24. Viewer
  25. ComboBox
  26. Field
  27. RecordField
  28. Hotword
  29. *RHOTWORD*
  30. *TbxBase*
  31. bxBase*
  32.     D    T    d
  33. TB40HYP.SBK
  34.     bxBase*
  35. Early
  36. Backdrop
  37. Assign
  38. Addign disabled
  39. Early Disabled
  40. Later
  41. Later Disabled
  42. dotdotdot
  43. dotdotdot
  44. wwwwp
  45. wwwww
  46. wwwwwp
  47. wwpwwp
  48. wwpwwp
  49. wwpwwp
  50. xwwwxp
  51. wxwxwp
  52. wwxwwp
  53. wwpwwp
  54. xxxxx
  55. xxxxxxxxxxxxx
  56. xxxxxxxxxx
  57. xxxxxxxxxxxxxxxxx
  58. xxxxxx
  59. xxxxxxx
  60. """"""""""
  61. """"""""""
  62. """"""""""
  63. """"""""""
  64. """"""""""
  65. """"""""""
  66. """"""""""
  67. """"""""""
  68. """"""""""
  69. """"""""""
  70. """"""""""
  71. """"""""""
  72. """"""""""
  73. """"""""""
  74. """"""""""
  75. """"""""""
  76. """"""""""
  77. ETEICO
  78. """""
  79. """""
  80. """""
  81. """""
  82. """""
  83. """""
  84. """""
  85. """""
  86. Information
  87. question
  88. warning
  89. apple
  90. arrowr
  91. arrowrd
  92. DDDDDD@
  93. DDDDDDDD@
  94. DDDDD
  95. DDDD@
  96. DDDDD
  97. DDDD@
  98. DDDDDD
  99. DDDDD
  100. DDDDDD
  101. DDDDD
  102. DDDDDD
  103. DDDDD
  104. DDDDDD
  105. DDDDD@
  106. DDDDDD
  107. DDDDD@
  108. DDDDDD
  109. DDDDD@
  110. DDDDDD
  111. DDDDD@
  112. DDDDDD
  113. DDDDD@
  114. DDDDDD
  115. DDDDD@
  116. DDDDDD
  117. DDDDD@
  118. DDDDO
  119. DDDDD@
  120. DDDDO
  121. DDDDD
  122. DDDDDDDDDDDDDD
  123. DDDDDDDDDDDDDD
  124. DDDDD
  125. DDDDD@
  126. DDDDO
  127. DDDD@
  128. """"/
  129. """" 
  130. """"/
  131. """" 
  132. """"""/
  133. """"""
  134. """"""""""""""
  135. """""/
  136. """""
  137. """""/
  138. """"" 
  139. """""/
  140. """"" 
  141. """"""
  142. """"" 
  143. """"""
  144. """"" 
  145. """"""/
  146. """" 
  147. """"""/
  148. """" 
  149. """""""
  150. """" 
  151. """""""
  152. """" 
  153. """""" 
  154. wwwwwwwp
  155. wwwwwwwp
  156. wwwpff
  157. wwwpff`p
  158. wwwpff`p
  159. wwpff
  160. wwpff`
  161. wwpff`
  162. PXFrontEnd
  163. frontEnd
  164. Source Book
  165. ScriptWalker
  166. propValue
  167. GetScriptWalkIni
  168. enterPage
  169. Cancel
  170. 3default
  171. center
  172. propValue
  173. different destination
  174. Out File
  175. ASYM_Ellipsize
  176. trueValue
  177. propValue
  178. enterField
  179. trueValue
  180. propValue
  181. trueValue
  182. leaveField
  183. Destination Book
  184. ScriptWalker
  185. propValue
  186. GetScriptWalkIni
  187. enterPage
  188. Cancel
  189. 3default
  190. center
  191. propValue
  192. In File
  193. ASYM_Ellipsize
  194. trueValue
  195. propValue
  196. enterField
  197. trueValue
  198. propValue
  199. trueValue
  200. leaveField
  201. author
  202. refBtn
  203. keyDown
  204. Cancel
  205. cancelBtn
  206. isWin95
  207. defBtn
  208. skrefFocus
  209. enterPage
  210. refBtn
  211. button
  212. skrefFocus
  213. pushbutton
  214. cancelBtn
  215. defBtn
  216. rkrefFocus
  217. author
  218. refBtn
  219. keyDown
  220. Cancel
  221. cancelBtn
  222. isWin95
  223. defBtn
  224. skrefFocus
  225. enterPage
  226. refBtn
  227. button
  228. skrefFocus
  229. pushbutton
  230. cancelBtn
  231. defBtn
  232. rkrefFocus
  233. author
  234. refBtn
  235. keyDown
  236. Cancel
  237. cancelBtn
  238. isWin95
  239. defBtn
  240. skrefFocus
  241. enterPage
  242. refBtn
  243. button
  244. skrefFocus
  245. pushbutton
  246. cancelBtn
  247. defBtn
  248. rkrefFocus
  249. Source Dir
  250. ASYM_CurrentDirectory
  251. ScriptWalker
  252. propValue
  253. GetScriptWalkIni
  254. enterPage
  255. DestinationBookPath
  256. center
  257. propValue
  258. destPathFld
  259. trueValue
  260. ASYM_Ellipsize
  261. trueValue
  262. propValue
  263. enterField
  264. trueValue
  265. propValue
  266. trueValue
  267. leaveField
  268. (*.*),*.*
  269. oldDir
  270. defaultPath
  271. Book to walk
  272. prompt
  273. System books
  274. Special
  275. fieldRef
  276. book extension
  277. tb40DLG.DLL
  278. Source Dir
  279. In File
  280. HshortFileName
  281. newFileName
  282. propValue
  283. ASYM_PathOfFile
  284. filter
  285. defaultFile
  286. ASYM_CurrentDirectory
  287. ASYM_GetString
  288. (*.tbk),*.tbk
  289. cASYM_SetCurrentDirectory
  290. (*.sbk),*.sbk
  291. ScriptWalker
  292. OpenFileDlg
  293. All files
  294. OpenFileDlg
  295. propValue
  296. Books
  297. GetScriptWalkIni
  298. buttonClick
  299. (*.*),*.*
  300. oldDir
  301. defaultPath
  302. (*.tbk),*.tbk
  303. prompt
  304. SaveAsDlg
  305. System books
  306. Special
  307. fieldRef
  308. book extension
  309. tb40DLG.DLL
  310. ASYM_PathOfFile
  311. In File
  312. HshortFileName
  313. newFileName
  314. propValue
  315. Save Dir
  316. filter
  317. defaultFile
  318. ASYM_CurrentDirectory
  319. ASYM_GetString
  320. cASYM_SetCurrentDirectory
  321. (*.sbk),*.sbk
  322. ScriptWalker
  323. Out File
  324. All files
  325. propValue
  326. SaveAsDlg
  327. Books
  328. fixIt
  329. GetScriptWalkIni
  330. different destination
  331. Save Book As
  332. 7wASYM_Container
  333. buttonClick
  334. reset
  335. enterPage
  336. reset
  337. leavePage
  338. defBounds
  339. defbounds
  340. reset
  341. .',    "
  342. .',    "
  343. theBar
  344. reset
  345. defBounds
  346. defbounds
  347. Destination Book Extension
  348. ScriptWalker
  349. propValue
  350. GetScriptWalkIni
  351. enterPage
  352. Destination Book Extension
  353. propValue
  354. ScriptWalker
  355. SetScriptWalkIni
  356. trueValue
  357. MoldText
  358. enterField
  359. different extension
  360. trueValue
  361. propValue
  362. trueValue
  363. propValue
  364. Different extension
  365. propValue
  366. fixUp
  367. propValue
  368. trueValue
  369. leaveField
  370. statusbar
  371. enterpage
  372. leavePage
  373. cancel
  374. FALSE
  375. 3default
  376. propValue
  377. in File
  378. out File
  379. Different Destination
  380. Walk Scripts Of A Book
  381. Generic
  382. ASYM_GetString
  383. WalkScripts
  384. replaceStrings
  385. FileExists
  386. The source book cannot be found.
  387. fixVersion
  388. ^DoWalkScripts
  389. isValidBook
  390. In File
  391. outFn
  392. propValue
  393. defReplaceStrings
  394. ASYM_GetString
  395. devReplaceStrings
  396. This is not a valid ToolBook file.
  397. krrecordDefaults
  398. Out File
  399. Change TB Version strings
  400. Different Destination
  401. Change Generic Version strings
  402. closeThisWindow
  403. tb30 to tb40
  404. replaceStrings
  405. Source Book
  406. ASYM_PathOfFile
  407. Source Dir
  408. Destination Book
  409. Destination Dir
  410. DefReplaceStrings
  411. sysfiles tb30 to tb40
  412. ScriptWalker
  413. SetScriptWalkIni
  414. r<recordReplaceStringsInfo
  415. recordDefaults
  416. statusbar
  417. enterpage
  418. leavePage
  419. .'+    +F
  420. .'+    +F
  421. s_outPath
  422. cancel
  423. yesAllStrDB
  424. ASYM_CreateDirectory
  425. s_overWriteFlag
  426. replaceStrings
  427. s_WalkedN
  428. &Cancel
  429. FALSE
  430. noStr
  431. FileExists
  432. propValue
  433. current file
  434. GetFileSize
  435. defReplaceStrings
  436. SkipStr
  437. ^DoWalkScripts
  438. Yes to &All
  439. progress indicator
  440. statusBar
  441. yesAllStr
  442. Change Generic Version strings
  443. yesStr
  444. s_ToWalkN
  445. Not enough disk space to finish.
  446. File %1 exists. Overwrite?
  447. fixVersion
  448. outPath
  449. pathOfFile
  450. progress
  451. outFn
  452. ASYM_GetString
  453. s_BooksToWalk
  454. %1 of %2
  455. Unable to create destination directory for %1.
  456. s_inPath
  457. Change TB Version strings
  458. Skip file and Continue
  459. GetFreeDiskSpace
  460. Yes to All
  461. s_FileList
  462. Generic
  463. ASYM_GetString
  464. Batch Walk Scripts
  465. batchWalkScripts
  466. w,    #>
  467. .'+    +F
  468. .'+    +F
  469. 1,    #>
  470. .'+    +F
  471. .'+    +F
  472. s_outPath
  473. The source directory does not exist.
  474. s_WalkedN
  475. s_overWriteFlag
  476. replaceStrings
  477. reset
  478. FALSE
  479. ASYM_IsDirectory
  480. cancel stop
  481. recursive
  482. outExt
  483. propValue
  484. IsValidBook
  485. defReplaceStrings
  486. Sorting...
  487. krrecordDefaults
  488. statusBar
  489. DbuildFileList
  490. SourceBookPath
  491. Different Destination
  492. Change Generic Version strings
  493. inPath
  494. yesStr
  495. s_ToWalkN
  496. DestinationBookPath
  497. s_FileList
  498. fixVersion
  499. The destination directory does not exist.
  500. outPath
  501. Source Book Extension
  502. Include subdirectories
  503. OK to overwrite the existing files?
  504. Different Extension
  505. inExt
  506. Scanning files for valid books...     %1
  507. outFn
  508. filter
  509. wsortTextLines
  510. ASYM_GetString
  511. s_BooksToWalk
  512. No files matching the pattern "%1".
  513. Destination Book Extension
  514. s_inPath
  515. Change TB Version strings
  516. progress
  517. closeThisWindow
  518. Source Ext
  519. replaceStrings
  520. Destination Ext
  521. Source Dir
  522. Include Subdirectories
  523. Destination Dir
  524. tb30 to tb40
  525. sysfiles tb30 to tb40
  526. ScriptWalker
  527. SetScriptWalkIni
  528. r<recordReplaceStringsInfo
  529. recordDefaults
  530. ,&H.&
  531. ,&H.&
  532. s_FileList
  533. false
  534. GetFileList
  535. Scanning for files: %1.
  536. DbuildFileList
  537. stats
  538. GetDirectoryOnlyList
  539. ASYM_GetString
  540. statusBar
  541. GetFileAttributes
  542. buildFileList
  543. reset
  544. FALSE
  545. GetIniVar
  546. SetIniVar
  547. sendkeys
  548. mtb40cbt.dll
  549. ellipsizeFileName
  550. sysWindowHandle
  551. This application will not run in the runtime version of ToolBook.
  552. ToolBook
  553. tb40dos.dll
  554. tb40win.dll
  555. GetFileList
  556. GetFileAttributes
  557. GetFreeDiskSpace
  558. GetFileSize
  559. RemoveFile
  560. CopyFile
  561. FileExists
  562. GetDirectoryOnlyList
  563. GetFileOnlyList
  564. tb40dlg.dll
  565. itemOffset
  566. SortTextLines
  567. enterApplication
  568. enterPage
  569. mtb40.ini
  570. inifile
  571. .IniFile
  572. SetIniVar
  573. SetScriptWalkIni
  574. .IniFile
  575. GetIniVar
  576. GetScriptWalkIni
  577. recordReplaceStringsInfo
  578. statusBar
  579. showStatus
  580. .'+    +F
  581. .'+    +F
  582. .'+    +F
  583. .'+    +F
  584. .'+    +F
  585. .'+    +F
  586. cancel
  587. s_fixVersionNumbersInScripts
  588. tb40mmm
  589. CopyFile error code: %1
  590. sysWindowHandle
  591. tb40dos
  592. statusBar
  593. false
  594. tb40win
  595. ToolBook
  596. tb40dlg
  597. mtb30
  598. Error creating destination book.
  599. instances of ToolBook before walking scripts.
  600. ASYM_GetString
  601. mtb40
  602. Done.
  603. ctb30
  604. s_StringsToReplace
  605. tb40anm
  606. !nwalkAllObjects
  607. bkname
  608. tb30dos
  609. s_BooksToWalk
  610. DestBookCopyError
  611. Sorry, this book cannot work on itself.
  612. tb30win
  613. first.
  614. s_replaceCount
  615. mtb30anm
  616. Sorry, you must close all other
  617. mtb30mmm
  618. tb30dlg
  619. Sorry, you must close the book
  620. iCopyFile
  621. ctb40
  622. DoWalkScripts
  623. isValidBook
  624. w,    #>
  625. w,    #>
  626. w,    #>
  627. .',    "
  628. ,&H.&
  629. ,&H.&
  630. ,&H.&
  631. w,    #?
  632. ,&H.&
  633. ,&H.&
  634. ,&H.&
  635. cancel
  636. Cancel
  637. sysSuspendMessages=true;go page 1 of book
  638. RemoveFile
  639. The book file may be corrupted, or there is a conflict with a file handle.
  640. walkObjects
  641. save as
  642. save as exe
  643. false
  644. MTB40.EXE
  645. , TRUE
  646. $$$$$$$.tmp
  647. ToolBook
  648. Resaving
  649. bookRef
  650. HshortFileName
  651. and try again.
  652. tempFn
  653. Close and restart Windows,
  654. Apparent book version is:
  655. send exit to system
  656. pathOfFile
  657. UpdatingExeX
  658. cancel
  659. false
  660. bookRef
  661. backgrounds
  662. backIndex
  663. curPage
  664. skipstr
  665. bkName
  666. backID
  667. tempFn
  668. ASYM_GetString
  669. skipstr
  670. minimized
  671. ,TRUE
  672. Updating .EXE header for %1
  673. Skip Book And Continue
  674. statusBar
  675. OpenErrSuggestion
  676. walkAllObjects
  677. shortFileName
  678. .'+    +F
  679. .'+    +F
  680. cancel
  681. showStatus
  682. s_BooksToWalk
  683. Background
  684. s_replaceCount
  685. _twiddleCursor
  686. curObjType
  687. checkScript
  688. walkObjects
  689. of book
  690. obname
  691. obRef
  692. s_scr
  693. FindInScript
  694. s_scr
  695. ReplaceInScript
  696. .'+    +F
  697. s_replaceCount
  698. s_fixVersionNumbersInScripts
  699. quitStr
  700. ^{keyY}{keyEnter}
  701. s_scr
  702. Cancel
  703. cancel
  704. sharedScript
  705. noStr
  706. Cssendkeys
  707. Script still contains error
  708. There is still an error in the script of %1. Edit again?
  709. pwd.txt
  710. s_StringsToReplace
  711. ASYM_GetString
  712. yesStr
  713. Try again
  714. checkScript
  715. .',    "
  716. s_cursn
  717. twiddleCursor
  718. ASYM_GetString
  719. ASYM_GetString
  720. Cffffff
  721. false
  722. isWin95
  723. Depending on the complexity, size and number of books,
  724. HelpWalkBatch
  725. false
  726. try to isolate the offending book and process it separately.
  727. could not fix.  For each script containing an error,
  728. HelpWalkOne
  729. Sorry, help not available on this topic.
  730. This utility will walk and attempt to recompile the scripts
  731. If such an error occurs, try smaller batches or
  732. the scripts for optimum performance, and find every
  733. of a single book and convert it to version 4.0.
  734. of a batch of books and convert them to version 4.0.
  735. HelpGen
  736. the Check Syntax command to find and fix the error.
  737. ASYM_GetString
  738. Version 4.0 of the OpenScript compilers catches more
  739. created with a previous ToolBook version, recompile
  740. error is encountered in a script, the process will stop
  741. script that contains a syntax error which the converter
  742. it will open the script editor and allow you to use
  743. errors at compile time than older versions. If such an
  744. and the script editor will pop up so that you can fix the error.
  745. Nohelp
  746. some fatal errors may occur during batch processing.
  747. This application will open or convert one or more books
  748. asym_winHelp
  749. w,    #>
  750. GetCurrentDrive
  751. GetCurrentDirectory
  752. 7>7g    
  753. GetCurrentDrive
  754. tb40DOS.dll
  755. vGetCurrentDirectory
  756. ASYM_CurrentDirectory
  757. GetCurrentDrive
  758. SetCurrentDirectory
  759. result
  760. tb40DOS.dll
  761. SetCurrentDrive
  762. ,    T,.7>-#
  763. GetCurrentDrive
  764. ,    Ulp
  765. SetCurrentDirectory
  766. SetCurrentDrive
  767. ASYM_SetCurrentDirectory
  768. newPath
  769. oldPath
  770. ChooseDirectoryDlg
  771. ASYM_CurrentDirectory
  772. cASYM_SetCurrentDirectory
  773. tb40dlg.dll
  774. .ChooseDirectoryDlg
  775. ASYM_AskForPath
  776. 1,    #>
  777. 1,    #>
  778. dotss
  779. ASYM_Ellipsize
  780. right
  781. center
  782. ellipsizeFileName
  783. ASYM_Ellipsize
  784. GetFileAttributes
  785. tb40dos.dll
  786. GetFileAttributes
  787. ASYM_IsDirectory
  788. 1,    "j
  789. ASYM_IsDirectory
  790. CreateDirectory
  791. tb40dos.dll
  792. CreateDirectory
  793. ASYM_CreateDirectory
  794. pathOfFile
  795. notifyBefore 
  796. GetScriptWalkIni("ScriptWalker","Source Book")
  797. opropValue = 
  798. otrueValue = 
  799.         cnt = 
  800. = ASYM_Ellipsize(
  801. x <> 
  802. B"different destination") 
  803. "Out File" <> 
  804. enabled 
  805. B"OK" 
  806. default 
  807. B"OK" 
  808. B"Cancel" 
  809. <> "\"
  810. "..." 
  811. notifyBefore 
  812. GetScriptWalkIni("ScriptWalker","Destination Book")
  813. opropValue = 
  814. otrueValue = 
  815.         cnt = 
  816. = ASYM_Ellipsize(
  817. x <> 
  818. "In File" <> 
  819. enabled 
  820. B"OK" 
  821. default 
  822. B"OK" 
  823. B"Cancel" 
  824. <> "\"
  825. "..." 
  826. notifybefore 
  827. notifyBefore 
  828. x = 13
  829. orefBtn
  830. buttonClick 
  831. ocancelBtn = 
  832. B"Cancel" 
  833. odefBtn = 
  834. B"OK" 
  835. orefFocus
  836. isWin95()
  837. u= "pushbutton"
  838. xenabled 
  839.         OK = (
  840. targetWindow = 
  841.             u = sysPageUnitsPerPixel
  842.             b = 
  843. b - x, 
  844. b - y,\
  845. b + x, 
  846. b + y
  847. notifybefore 
  848. notifyBefore 
  849. x = 13
  850. orefBtn
  851. buttonClick 
  852. ocancelBtn = 
  853. B"Cancel" 
  854. odefBtn = 
  855. B"OK" 
  856. orefFocus
  857. isWin95()
  858. u= "pushbutton"
  859. xenabled 
  860.         OK = (
  861. targetWindow = 
  862.             u = sysPageUnitsPerPixel
  863.             b = 
  864. b - x, 
  865. b - y,\
  866. b + x, 
  867. b + y
  868. notifybefore 
  869. notifyBefore 
  870. x = 13
  871. orefBtn
  872. buttonClick 
  873. ocancelBtn = 
  874. B"Cancel" 
  875. odefBtn = 
  876. B"OK" 
  877. orefFocus
  878. isWin95()
  879. u= "pushbutton"
  880. xenabled 
  881.         OK = (
  882. targetWindow = 
  883.             u = sysPageUnitsPerPixel
  884.             b = 
  885. b - x, 
  886. b - y,\
  887. b + x, 
  888. b + y
  889. notifyBefore 
  890. GetScriptWalkIni("ScriptWalker","Source Dir")
  891. ASYM_CurrentDirectory()
  892. opropValue = 
  893. otrueValue = 
  894.         cnt = 
  895. = ASYM_Ellipsize(
  896.     destPathFld = 
  897. "DestinationBookPath"
  898. "..." 
  899. buttonClick
  900.     oldDir = ASYM_CurrentDirectory()
  901.     fieldRef = 
  902. "In File"
  903. propValue 
  904.         defaultPath = GetScriptWalkIni("ScriptWalker","Source 
  905. >ASYM_PathOfFile(
  906.     defaultFile = shortFileName(
  907. ) > 3
  908.     linkDLL "tb40DLG.
  909.         STRING OpenFileDlg(
  910. ,INT)
  911.     prompt = ASYM_GetString("Book 
  912. walk","")
  913.     filter = 
  914. 'All files") && "(*.*),*.*"
  915. GSystem books") && "(*.sbk),*.
  916. tbk),*.
  917. 8extension")
  918. "*." & 
  919. Special","") && "(*." & 
  920. & ")"\
  921.     newFileName = 
  922. ASYM_SetCurrentDirectory(
  923. buttonClick
  924.     oldDir = ASYM_CurrentDirectory()
  925.     fieldRef = 
  926. "Out File"
  927. propValue 
  928.         defaultPath = GetScriptWalkIni("ScriptWalker","Save 
  929. <ASYM_PathOfFile(
  930.     defaultFile = shortFileName(
  931. ASYM_Container(
  932.         p = 
  933. ~(".", 
  934. p > 0
  935. = ".txt"
  936. ) > 3
  937.     linkDLL "tb40DLG.
  938.         STRING SaveAsDlg(
  939. ,INT)
  940.     filter = ASYM_GetString("All files") && "(*.*),*.*"
  941. +System books") && "(*.sbk),*.
  942. VBooks") && "(*.tbk),*.
  943. 8extension")
  944. "*." & 
  945. Special","") && "(*." & 
  946. & ")"\
  947.     prompt = 
  948.  As","")
  949.     newFileName = 
  950. fixIt 
  951. B"different destination"
  952. ASYM_SetCurrentDirectory(
  953. notifyBefore 
  954. reset
  955.     n = 
  956.         n = 0
  957. sysPageUnitsPerPixel
  958.     nx = 
  959.     ny = 
  960. Hny -15
  961.     defbounds 
  962.  = x1,y1,x2,y2
  963.  = x1,y1,x1,y2
  964. odefBounds = 
  965.     theBar = 
  966.     x1 = 
  967.     x2 = 
  968. x1 + 
  969.  * (x2 - x1)
  970.     bnds = 
  971. notifyBefore 
  972.     ext = GetScriptWalkIni("ScriptWalker","Destination Book Extension")
  973. J"tbk"
  974. opropValue = 
  975. SetScriptWalkIni("
  976. ooldText = 
  977. otrueValue
  978. B"different extension"
  979.     p = 
  980. ~(".", 
  981. p > 0
  982. fixUp 
  983. B"Different 
  984. statusbar
  985.     readerStatusBar 
  986. B"Stop"
  987.     outF = propValue 
  988.  File" <> 
  989.     dif = 
  990. B"Different Destination"
  991.     inF = 
  992. enabled 
  993. B"OK" 
  994. default 
  995. B"OK" 
  996. FALSE
  997. B"OK" 
  998. B"OK" 
  999. WalkScripts
  1000.     v = 
  1001. "Generic" 
  1002.     defaultPage 
  1003. v = ASYM_GetString("
  1004. K Of A Book")
  1005. %modal
  1006. 4s_candidateList, s_bookToWalkList, s_walkedBooks
  1007. oOK = 
  1008. closeThisWindow
  1009.     inFn = 
  1010.         outFn = 
  1011. "Out 
  1012. FileExists(
  1013. ]) <> 1
  1014. The source 
  1015. 8cannot be found.")
  1016. xisValidBook(
  1017. xa valid ToolBook file.")
  1018.     fixVersion = 
  1019. B"Change TB 
  1020. strings"
  1021.     defReplaceStrings = 
  1022.     replaceStrings = 
  1023. recordDefaults 
  1024. 6, devReplaceStrings
  1025. DoWalkScripts(
  1026. SetScriptWalkIni("ScriptWalker","Source 
  1027. %Dir",ASYM_PathOfFile(
  1028. tb30 
  1029. tb40",
  1030. sysfiles 
  1031. DefReplaceStrings)
  1032. recordReplaceStringsInfo()
  1033. statusbar
  1034.     readerStatusBar 
  1035. 4s_inPath, s_outPath,\
  1036. s_BooksToWalk, s_WalkedN, s_ToWalkN, s_overWriteFlag
  1037. s_booksToWalk <> 
  1038. outFn
  1039.         fixVersion = propValue 
  1040. B"Change TB 
  1041. strings"
  1042.         defReplaceStrings = 
  1043. .Generic 
  1044.         replaceStrings = 
  1045. "progress indicator" 
  1046. "current file" = \
  1047. expandString(ASYM_GetString("%1 
  1048. %2"),\
  1049. ) & CRLF & 
  1050. B"stop"
  1051. FlushMessageQueue()
  1052.  = pathOfFile(
  1053.         d = 
  1054. d <> 
  1055. GetFreeDiskSpace(d) < GetFileSize(
  1056. Not enough disk 
  1057. finish.")
  1058. xASYM_CreateDirectory(
  1059.             SkipStr = 
  1060. Continue")
  1061. "Unable 
  1062. create destination directory 
  1063. %1."),
  1064. f"&" & 
  1065. &Cancel")
  1066. s_overwriteFlag \
  1067. FileExists(
  1068. ) = 1
  1069.             yesStr = 
  1070. Yes")
  1071.             yesAllStr = 
  1072.             yesAllStrDB = 
  1073.             noStr = 
  1074.  %1 exists. Overwrite?"),
  1075. "&" & YesStr 
  1076. "&" & 
  1077. = FALSE,TRUE
  1078. DoWalkScripts(
  1079. statusBar
  1080. batchWalkScripts
  1081. 4s_FileList
  1082.     v = 
  1083.     defaultPage 
  1084. Batch 
  1085. %modal
  1086. oOK = 
  1087. "SourceBookPath" 
  1088. B"Different Destination" 
  1089. "DestinationBookPath" 
  1090.  <> "\"
  1091.  <> "\"
  1092.     inExt = 
  1093.  Extension" 
  1094.         outExt = 
  1095.  --prompt,
  1096.  the existing files?")\
  1097. f"&" & 
  1098. No") 
  1099. "&" & 
  1100. xASYM_IsDirectory(
  1101. ry does 
  1102. .source 
  1103.     filter = "*." & 
  1104.     recursive = 
  1105. B"Include subdirectories"
  1106. buildFileList 
  1107. y, "*." & 
  1108. Sorting...")
  1109.  = sortTextLines(
  1110. "Scanning 
  1111. valid 
  1112. m    ...
  1113. ObjectFromPoint(
  1114. xIsValidBook(
  1115.         No 
  1116.  matching 
  1117. ""%1""."),
  1118. recordDefaults 
  1119.     d = 
  1120.     fCnt = 
  1121.     s_inpath = 
  1122.         Fn = 
  1123.  = Fn
  1124.         p = 
  1125. ~(".", 
  1126. p > 0
  1127. "." & 
  1128. reset
  1129. closeThisWindow
  1130. inFnPath, outFnPath, 
  1131. , includeDirs
  1132. SetScriptWalkIni("ScriptWalker","
  1133. =",OutFnPath)
  1134. Subdirectories",\
  1135.  Ext",
  1136. OutExt)
  1137. tb30 
  1138. tb40",
  1139. sysfiles 
  1140. DefReplaceStrings)
  1141. recordReplaceStringsInfo()
  1142. root, 
  1143. , recurse
  1144. GetDirectoryOnlyList(
  1145. & "*.*", "")
  1146. textlineCount(
  1147.             d = 
  1148.             d = 
  1149. GetFileAttributes(
  1150.  & d) 
  1151. d <> "\"
  1152. GetFileList(
  1153.     n = 
  1154.     stats = 
  1155. : %1.")
  1156.         d = 
  1157.         d = 
  1158. Copyright 
  1159.  1994, 1995
  1160. Asymetrix Corporation
  1161.  gives you permission 
  1162. e, revise, 
  1163. reuse the
  1164. individual 
  1165. scripts 
  1166. your own
  1167. applications.
  1168. You may 
  1169. J entire 
  1170. substantial part 
  1171. redistribution 
  1172. b product
  1173. without inclusion 
  1174. proper credits 
  1175. %specified below.
  1176. retains 
  1177.  copyright on 
  1178.  original elements 
  1179.  . Include the notice "Portions 
  1180.  are 
  1181. contain 
  1182. copied 
  1183. enterApplication
  1184. sysRuntime = TRUE
  1185. "This 
  1186.  will 
  1187. runtime version 
  1188. ToolBook."
  1189.         activeWindowHandle = 
  1190. "ctb40r.sbk" 
  1191. X"tb40dos.dll"
  1192.         STRING GetFileList(
  1193. Attributes(
  1194.         LONG GetFreeDiskSpace(
  1195. ileSize(
  1196.         INT RemoveFile(
  1197. CopyFile(
  1198. &FileExists(
  1199. DirectoryOnlyList(
  1200.     linkDLL "tb40win.
  1201. IniVar(
  1202. SetIniVar(
  1203. sendkeys(
  1204. X"tb40dlg.
  1205. itemOffset(
  1206. SortTextLines(
  1207. mtb40cbt.
  1208. ellipsizeFileName(
  1209. , WORD)
  1210. inifile
  1211. SetScriptWalkIni sec, 
  1212. , val
  1213. , IniFile())
  1214. GetScriptWalkIni 
  1215. GetIniVar(
  1216. recordReplaceStringsInfo
  1217. showStatus obj
  1218. statusBar = 
  1219. DoWalkScripts inFn, outFn, fixVersion,\
  1220. replaceStrings, defReplaceStrings
  1221. 4s_StringsToReplace[][]
  1222. 4s_scr, s_fixVersionNumbersInScripts, s_replaceCount
  1223. 4s_BooksToWalk
  1224. "Sorry, 
  1225. must close 
  1226. other"\
  1227. && "instances 
  1228. 4walking 
  1229.     reset 
  1230. [1][1] = "tb30dos"
  1231. 1][2] = "
  1232. 2][1] = "tb30win"
  1233. 2][2] = "
  1234. 3][1] = "tb30dlg"
  1235. 3][2] = "
  1236. 4][1] = "mtb30"
  1237. 4][2] = "
  1238. 5][1] = "ctb30"
  1239. 5][2] = "
  1240. 6][1] = "mtb30anm"
  1241. 6][2] = "tb40anm"
  1242. 6][1] = "mtb30mmm"
  1243. 6][2] = "tb40mmm"
  1244. 8" && 
  1245.  && "
  1246.  & CRLF & 
  1247. 8cannot work on itself."
  1248. "down"
  1249. objectFromPoint(
  1250. "Stop"
  1251. expandString(ASYM_GetString("DestBookCopyError",\
  1252.  creating destination 
  1253. 8." & 
  1254.  error code: %1"), 
  1255.         bkname = 
  1256.     s_replacecount = 0
  1257. walkAllObjects (bkName)
  1258. "Done."
  1259. isValidBook fn
  1260. (fn) <> 
  1261. ZbackID,backgrounds[][]
  1262. \backIndex
  1263. ZcurPage
  1264.     bookRef = 
  1265.         skipstr = 
  1266. Skip 
  1267. And Continue")
  1268. Apparent 
  1269. OpenErrSuggestion",\
  1270. "The 
  1271. be corrupted, 
  1272. there 
  1273. a conflict 
  1274. "Close 
  1275. restart Windows,"\
  1276. f"&" & 
  1277. "&" & 
  1278. Cancel")
  1279. be walked
  1280. walkObjects 
  1281. " through 
  1282.         -- 
  1283.         -- 
  1284. we have previously 
  1285.         -- 
  1286. dimensions(
  1287. j][1] 
  1288.             -- 
  1289.             -- so we don't visit 
  1290. ) + 1
  1291. ][1] 
  1292. ,backindex
  1293. ".EXE" 
  1294. UpdatingExeX",\
  1295. %1"), shortFileName(
  1296.         cmd = "
  1297. " && 
  1298. & sysToolBookDirectory & "MTB40.
  1299. && "minimized"
  1300. FlushMessageQueue()
  1301. xsysSuspendMessages=
  1302. 8" && 
  1303.         tempFn = pathOfFile(
  1304. .tmp"
  1305. Resaving") && 
  1306. %" && 
  1307. & ", 
  1308. %exe" && 
  1309.     ccnt = 
  1310. U(fn)
  1311. Vi+1 
  1312. "walks" 
  1313. objectToWalk.
  1314. -- On entry 
  1315. handler, 
  1316. either a 
  1317. only used 
  1318. -- a 
  1319. Hreference, 
  1320. Zstack tlist,objList
  1321. recFieldCount
  1322. ZcurObj
  1323. s_obCount
  1324. twiddleCursor()
  1325. xisType(
  1326. flushMessageQueue()
  1327. ) > 0
  1328. curObjType 
  1329. windows 
  1330. resourceList("sharedScript",
  1331. getObjectList(
  1332. ) > 0
  1333. checkScript 
  1334. obRef ob
  1335. 8",ob)-1 
  1336. U(ob) 
  1337. obname 
  1338. " (" & 
  1339. & ")" 
  1340. FindInScript what
  1341. ReplaceInScript withWhat, p, howlong
  1342. (p + 
  1343.  - 1) 
  1344. curObject
  1345.     n = 
  1346. n > 0
  1347.             p = 
  1348. i][1], 
  1349. cp > 0
  1350. i][2]) - 1\
  1351. i][2]
  1352. i][1], 
  1353.         p = 
  1354. cp > 0
  1355.             p = 
  1356.     fn = 
  1357. y & "pwd.txt"
  1358.         -- There 
  1359. that 
  1360. x"Try 
  1361. }{keyEnter}",0)
  1362.             yesStr = 
  1363. Yes")
  1364.             noStr = 
  1365.             quitStr = 
  1366. still 
  1367. %1. Edit 
  1368. ?"),\
  1369. f"&" & 
  1370. "&" & 
  1371. "&" & 
  1372. cNoStr 
  1373. 4s_cursn
  1374.  = 29
  1375.  a, b
  1376. isWin95
  1377. sysOperatingSystem
  1378. istype("real", 
  1379. > 3.8
  1380. asym_winHelp n
  1381. Nohelp","
  1382. xavailable on 
  1383. n = 100
  1384. HelpGen",\
  1385. convert one 
  1386. more books"\
  1387. && "created 
  1388. , recompile"\
  1389. optimum performance, 
  1390. find every"\
  1391. ca syntax 
  1392. which 
  1393. converter"\
  1394. && "could 
  1395. xfix.
  1396. For each 
  1397. containing 
  1398. editor 
  1399. allow 
  1400. use"\
  1401. Check Syntax 
  1402.  saved 
  1403. %.EXE 
  1404.  3.0x 
  1405. Multimedia 
  1406.  3.0x"\
  1407. && "should be opened 
  1408. conversion 
  1409. && "a 
  1410. resaved 
  1411. manually.")
  1412. n = 101
  1413. HelpWalkOne",\
  1414. utility 
  1415. attempt 
  1416. a single 
  1417. 4.0." & 
  1418.  4.0 
  1419. OpenScript compilers catches 
  1420. && "errors 
  1421. Ithan older versions. If such 
  1422. encountered 
  1423. process 
  1424. stop"\
  1425. up so 
  1426. can fix 
  1427. n =102
  1428. HelpWalkBatch",\
  1429. a batch 
  1430. them 
  1431. 4.0." & 
  1432.  4.0 
  1433. . If 
  1434. up so 
  1435. & "Depending on 
  1436. complexity, 
  1437. && "some fatal 
  1438. occur during 
  1439. processing."\
  1440. && "If 
  1441. occurs, 
  1442. smaller batches 
  1443. isolate 
  1444. offending 
  1445. separately.")    
  1446. ASYM_CurrentDirectory
  1447.     --** 
  1448. HCO 940722
  1449. X"tb40DOS.
  1450. CurrentDrive()
  1451.     drv = GetCurrentDrive()
  1452.     dir = "\" & GetCurrentDirectory(
  1453. (<> "\"
  1454. \& ":" & 
  1455. ASYM_SetCurrentDirectory pathStr
  1456.     result = -1
  1457. B <> ":"
  1458. SetCurrentDrive(
  1459.     d = 
  1460.     p = 
  1461. ~(":", 
  1462. p > 1
  1463.         nd = 
  1464. d (nd)
  1465. ASYM_AskForPath startPath, dbCaption
  1466. ChooseDirectoryDlg(
  1467.     oldPath = 
  1468.     newPath = 
  1469. .<> "\"
  1470. trim s
  1471. U(s) > 1 
  1472. s <= 
  1473. U(s) > 1 
  1474. s <= 
  1475. ASYM_Ellipsize s, len, side
  1476.      = 0; 
  1477.     s = 
  1478.     cCnt = 
  1479.     dotss = "..."
  1480.     dotCnt = 3
  1481.     p1 = 
  1482. ~("\", s)
  1483. p1 > 0
  1484.  < 18
  1485.             s = 
  1486.  + 1) 
  1487.             p = 
  1488. ~("\", s)
  1489. p > 0
  1490.             dotsL = (len - 
  1491. U(s))+1
  1492. E) -- 
  1493.             s = 
  1494. U(s) 
  1495. U(s))+1
  1496.             s = 
  1497. + 4) 
  1498.             p = 
  1499. 3) / 2 + 0.1)
  1500.             s1 = 
  1501. U(s1) + 1 + p > len
  1502.             s = s1 & 
  1503.             s = 
  1504. ASYM_IsDirectory dirspec
  1505. GetFileAttributes(
  1506. ("D" 
  1507. ASYM_CreateDirectory dirSpec
  1508.     p = 
  1509. ~("\", 
  1510. cp > 1
  1511.         dir1 = 
  1512. FALSE
  1513.         p1 = p
  1514.         p = 
  1515. ~("\", 
  1516. Vp+1 
  1517. p > 1
  1518.             p = p1 + p
  1519. U(Fn) 
  1520.                 chars p to p + charco
  1521. cordLocked
  1522. Relation
  1523. <BookPath>
  1524. :HDMEDIAPATH
  1525. taDir
  1526. urier New
  1527.  Sans Serif
  1528. Button id 43 of Page id 59
  1529. Claude Ostyn
  1530. Arial
  1531. user|2
  1532. _ASYM_StringArray
  1533. Asymetrix Corporation
  1534. 9/7/94 3:24:58 PM
  1535. 9/6/94 2:19:00 PM
  1536. info_LastSavedBy
  1537. info_LastSaved
  1538. user2
  1539. user0
  1540. FALSE
  1541. user2
  1542. user|0,userID
  1543. MS Sans Serif
  1544.  Sans Serif
  1545. 12/19/94 2:32:14 PM
  1546. Button id 45 of Page id 59
  1547. Button id 43 of Page id 59
  1548. Button id 48 of Page id 66
  1549. Button id 48 of Page id 66
  1550. Button id 48 of Page id 66
  1551. Button id 48 of Page id 66
  1552. Button id 44 of Page id 59
  1553. Button id 50 of Page id 66
  1554. Button id 44 of Page id 59
  1555. 9/27/95 5:22:23 PM
  1556. Claude Ostyn
  1557. Arial
  1558. 11/17/95 7:16:48 PM
  1559. SYM_StringArray
  1560. Claude Ostyn
  1561. 12/13/95 6:10:28 PM
  1562.     /95 5:39:09 PM
  1563. 12/13/95 6:23:57 PM
  1564. 12/13/95 6:10:23 PM
  1565. Arial
  1566. Page id 66
  1567. MS Sans Serif
  1568. 6:20:27 PM
  1569.  id 66
  1570. Claude Ostyn
  1571. 11/17/95 1:01:16 PM
  1572. stanceRunning
  1573. 1/5/95 1:10:48 PM
  1574. tb30dos.dll
  1575. GetFileList
  1576. GetFreeDiskSpace
  1577. GetFileSize
  1578. RemoveFile
  1579. ctb30r.sbk
  1580. mtb30cbt.dll
  1581. DecryptFile
  1582. enterApplication
  1583. author
  1584. reader
  1585. enterPage
  1586. enterApplication
  1587. "ctb30r.sbk" 
  1588. X"mtb30cbt.dll"
  1589.         INT DecryptFile(STRING,
  1590. X"tb30dos.
  1591.  GetFileList(
  1592.         LONG GetFreeDiskSpace(
  1593. ileSize(
  1594. oRemoveFile(
  1595. `= thickFrame
  1596. = thinFrame
  1597. %1 of %2
  1598. %1 of %2
  1599. &Cancel
  1600. &Cancel
  1601. All files
  1602. All files
  1603. Apparent book version is:
  1604. Apparent book version is:
  1605. Batch Walk Scripts
  1606. Batch Walk Scripts
  1607. Book to walk
  1608. Book to walk
  1609. Books
  1610. Books
  1611. Cancel
  1612. Cancel
  1613. DestBookCopyError
  1614. Error creating destination book.
  1615. CopyFile error code: %1
  1616. Destination Directory
  1617. Destination Directory
  1618. File %1 exists. Overwrite?
  1619. File %1 exists. Overwrite?
  1620. No files matching the pattern 
  1621. No files matching the pattern "
  1622. Not enough disk space to finish.
  1623. Not enough disk space to finish.
  1624. OK to overwrite the existing files?
  1625. OK to overwrite the existing files?
  1626. OpenErrSuggestion
  1627. The book file may be corrupted, or there is a problem with a file handle.
  1628. Close and restart Script Walker, and try again.
  1629. Resaving
  1630. Resaving
  1631. Save Book As
  1632. Save Book As
  1633. Scanning files for valid books...     %1
  1634. Scanning files for valid books...     %1
  1635. Scanning for files: %1.
  1636. Scanning for files: %1.
  1637. Script still contains error
  1638. There is still an error in the script of %1. Edit again?
  1639. Review Course Activity
  1640. %asym_cms_datadir()%cbkfive.tbk
  1641. 6    urseID
  1642. dulePassword
  1643. Page "Tool Bar"
  1644. login
  1645. Request
  1646. Paused Course
  1647. Page "Paused Course"
  1648. page "Edit Course"
  1649. tion"
  1650. Page "Review Course Activity"
  1651. Page "Cover"
  1652. ge "Login"
  1653. Level 2
  1654. Page id 13
  1655. tch Decrypt
  1656. Page id 19
  1657. Level 3
  1658. crypt A Log
  1659.     urseInfo
  1660. Generic
  1661. Edit Student Information
  1662. Page "Edit Student Information"
  1663. signments
  1664. Page "accountInformation"
  1665.  Paused Courses
  1666. [~password
  1667. closeWindow
  1668. closeWindow
  1669. t Password
  1670. newPassword
  1671. allowNullPassword
  1672. Add Book to Course
  1673.     j    ror
  1674. 142,244
  1675. defPos
  1676. tableName
  1677. 6    urseOwner
  1678. page "Edit Book"
  1679. LastName10, FirstName10 P                                        11
  1680. DnGguRf
  1681. accessRights
  1682. Administrator Access
  1683.                                 1
  1684. Test course A                                        11
  1685. courseName
  1686. Batch Walk Scripts
  1687. userName
  1688. ge "Courses"
  1689. tch Decrypt
  1690. page "Purge Data"
  1691. newUser
  1692. DnGguRf
  1693. Purge Data
  1694. bookName
  1695. default
  1696. enterWindow
  1697. leveWindow
  1698. leveWindow
  1699. enterWindow
  1700. o= default
  1701. leveWindow
  1702. 283,309
  1703. page "login"
  1704. Edit Course Definition
  1705. 94.12.05
  1706. Page id 66 of Book "G:\MTB40\SCRWLKB5.TBK"
  1707. CBT Edition 4.0 Script Walker
  1708. 267,105
  1709. defPos
  1710. openWindow
  1711. defPos
  1712. moved
  1713. openWindow
  1714. odefPos = 
  1715. moved
  1716. 54,67
  1717. defPos
  1718. openWindow
  1719. .',    "
  1720. defPos
  1721. moved
  1722. openWindow
  1723. odefPos = 
  1724. moved
  1725. ocurrentPage 
  1726. Cover
  1727. defPos
  1728. enterpage
  1729. %asym_WinHelp
  1730. keyDown
  1731.     ls = lockScreen 
  1732. = defPos 
  1733. asym_WinHelp()
  1734. defaultButton
  1735. Button id 22 of Page id 30
  1736. defBtn
  1737. needFix
  1738. Button id 10 of Page id 30
  1739. refBtn
  1740. Button id 10 of Page id 30
  1741. cancelBtn
  1742. Button id 28 of Page id 30
  1743. refFocus
  1744. Walk Scripts One
  1745. defPos
  1746. buttonClick
  1747. buttonClick
  1748. WalkScripts() 
  1749.  One"
  1750.     defPos 
  1751. &Walk Scripts of Book...
  1752. Batch Walk
  1753. defPos
  1754. Batch Walk Scripts
  1755. buttonClick
  1756. buttonClick
  1757. batchWalkScripts() 
  1758. "Batch 
  1759.     defPos 
  1760. &Batch Walk Scripts...
  1761. %ASYM_WinHelp
  1762. buttonClick
  1763. buttonClick
  1764. ASYM_WinHelp(100)
  1765. &Help
  1766. Cancel
  1767. buttonClick
  1768. buttonClick
  1769. &Quit
  1770. fixup
  1771. reader
  1772. fixup
  1773. fixup
  1774. notifyBefore 
  1775. fixup
  1776. richtext 
  1777.     o = 
  1778. This utility walks and recompiles all the scripts in applications to be upgraded from MTB 3.0 to MTB 4.0.
  1779. This utility walks and recompiles all the scripts in applications to be upgraded from MTB 3.0 to MTB 4.0.
  1780. Version 4.0c
  1781. author
  1782. keyDown
  1783. enterPage
  1784. reader
  1785. Button id 10 of Page id 30
  1786. 94081715073113612108902
  1787. ASYM_TpID
  1788. Walk Scripts One
  1789. ASYM_BeenHere
  1790. Caption
  1791. propValue
  1792. Walk and recompile the scripts of a book
  1793. 3DGroupBox
  1794. tbk_wid_type
  1795. propValue
  1796. Shadow
  1797. Highlight
  1798. Caption
  1799. propValue
  1800. &Source Book File Name:
  1801. widget_defaultRect
  1802. propValue
  1803. to "tb40" wherever found in scripts, as in "tb30dos.dll" 
  1804. (case insensitive)  
  1805. system books or files, such as "tb30dos.dll", to the equivalent MTB4.0 references 
  1806. 3DGroupBox
  1807. tbk_wid_type
  1808. Shadow
  1809. Highlight
  1810. Caption
  1811. Options
  1812. buttonClick
  1813. author
  1814. buttonClick
  1815. notifyBefore 
  1816. escape
  1817. propValue
  1818. default
  1819. STOP!
  1820. In File
  1821. dbTable
  1822. G:\MTB40\SCRWLK4.TBK
  1823. trueValue
  1824. G:\MTB40\SCRWLK4.TBKTXT.TBKR.TBK
  1825. findFile
  1826. exclude
  1827. propValue
  1828. Different Destination
  1829. propValue
  1830. In File
  1831. Out File
  1832. propValue
  1833. enterPage
  1834. propValue
  1835. In File
  1836. Out File
  1837. propValue
  1838. fixit
  1839. propValue
  1840. buttonClick
  1841. trueValue
  1842. Out File
  1843. propValue
  1844. propValue
  1845. propValue
  1846. notifyAfter 
  1847. opropValue = 
  1848. "In File" <> \
  1849. "Out 
  1850. fixit
  1851. buttonClick
  1852.     fld = 
  1853. trueValue 
  1854. propValue
  1855. Different &Destination Book File Name:
  1856. Out File
  1857. dbTable
  1858. G:\MTB40\SCRWLK2.TBK
  1859. trueValue
  1860. G:\MTB40\SCRWLK2.TBK+
  1861. findOutFile
  1862. exclude
  1863. propValue
  1864. Change TB Version strings
  1865. tb30 to tb40
  1866. Scriptwalker
  1867. SetIniVar
  1868. GetIniVar
  1869. tb40win.dll
  1870. propValue
  1871. GetScriptWalkIni
  1872. enterPage
  1873. s_fixVersionNumbersInScripts
  1874. false
  1875. truefalse
  1876. propValue
  1877. propValue
  1878. propValue
  1879. buttonClick
  1880. notifyBefore 
  1881. X"tb40win.dll"
  1882.         INT SetIniVar(STRING,
  1883.  GetIniVar(
  1884. opropValue = GetScriptWalkIni("Scriptwalker","tb30 
  1885. 4s_fixVersionNumbersInScripts
  1886. "truefalse"
  1887. buttonClick
  1888. &Change every occurence of "tb30" 
  1889. Change Generic Version strings
  1890. SetIniVar
  1891. GetIniVar
  1892. tb40win.dll
  1893. Scrwalk
  1894. sysfiles tb30 to tb40
  1895. propValue
  1896. GetScriptWalkIni
  1897. enterPage
  1898. s_fixVersionNumbersInScripts
  1899. false
  1900. truefalse
  1901. propValue
  1902. propValue
  1903. propValue
  1904. buttonClick
  1905. notifyBefore 
  1906. X"tb40win.dll"
  1907.         INT SetIniVar(STRING,
  1908.  GetIniVar(
  1909. opropValue = GetScriptWalkIni("Scrwalk","sysfiles tb30 
  1910. 4s_fixVersionNumbersInScripts
  1911. "truefalse"
  1912. buttonClick
  1913. &Change script references to MTB3.0
  1914. buttonClick
  1915. buttonClick
  1916. default
  1917. propValue
  1918. &Walk Scripts...
  1919. Cancel
  1920. closeThisWindow
  1921. buttonClick
  1922. buttonClick
  1923. closeThisWindow
  1924. escape
  1925. propValue
  1926. FALSE
  1927. default
  1928. &Close
  1929. %ASYM_WinHelp
  1930. buttonClick
  1931. buttonClick
  1932. ASYM_WinHelp(101)
  1933. propValue
  1934. &Help
  1935. enterPage
  1936. author
  1937. enterPage
  1938. 94090815470428412113648
  1939. ASYM_TpID
  1940. NUI Dialog Boarder
  1941. topBorder
  1942. bottomBorder
  1943. bkgndSize
  1944.     ssm = sysSuspendMessages
  1945. "0,0"
  1946.             bkgndSize = 
  1947.         topBorder = 
  1948.         bottomBorder = 
  1949. sysPageUnitsPerPixel,(
  1950. !el),
  1951. ,el,(4 * 
  1952. ;el),
  1953. Oel, (4 * 
  1954. sel,(
  1955. el),(
  1956. el),(
  1957. el),(
  1958. el), (4 * 
  1959.  = ssm
  1960. 3DDialogBorder
  1961. tbk_wid_name
  1962. 3DDialogBorder
  1963. tbk_wid_type
  1964. Dialog frame
  1965. CTB_WID_Info
  1966. CTB_WID_Author
  1967. 940817
  1968. CTB_WID_CreateDate
  1969. defaultButton
  1970. Button id 44 of Page id 59
  1971. defBtn
  1972. needFix
  1973. Button id 43 of Page id 59
  1974. refBtn
  1975. Button id 43 of Page id 59
  1976. cancelBtn
  1977. Button id 48 of Page id 59
  1978. refFocus
  1979. author
  1980. keyDown
  1981. enterPage
  1982. Button id 43 of Page id 59
  1983. Batch Walk Scripts
  1984. ASYM_BeenHere
  1985. Include Subdirectories
  1986. Include Subdirectories
  1987. ScriptWalker
  1988. GetScriptWalkIni
  1989. enterPage
  1990. notifyBefore 
  1991. Z= (TRUE = \
  1992. GetScriptWalkIni("ScriptWalker","Include Subdirectories"))
  1993. &Include Subdirectories
  1994. &Source Books:
  1995. Caption
  1996. Walk scripts of all books in a directory.
  1997. 3DGroupBox
  1998. tbk_wid_type
  1999. Shadow
  2000. Highlight
  2001. Caption
  2002. Directories
  2003. 3DGroupBox
  2004. tbk_wid_type
  2005. Shadow
  2006. Highlight
  2007. Caption
  2008. Files
  2009. widget_defaultRect
  2010. to "tb40" wherever found in scripts, as in "tb30dos.dll" 
  2011. (case insensitive)  
  2012. system books or files, such as "tb30dos.dll", to the equivalent MTB4.0 references 
  2013. 3DGroupBox
  2014. tbk_wid_type
  2015. Shadow
  2016. Highlight
  2017. Caption
  2018. Options
  2019. buttonClick
  2020. author
  2021. buttonClick
  2022. notifyBefore 
  2023. escape
  2024. propValue
  2025. default
  2026. STOP!
  2027. Caption
  2028. Walk scripts of all books in a directory.
  2029. Caption
  2030. Destination Book Names:
  2031. SourceBookPath
  2032. dbTable
  2033. G:\MTB40\LIBRARY\
  2034. trueValue
  2035. G:\MTB40\LIBRARY\ES\\BAR\\TE\ATE\C\SIC\
  2036. findFile
  2037. asym_GetString
  2038. oldDir
  2039. Source Directory
  2040. fieldRef
  2041. propValue
  2042. ASYM_CurrentDirectory
  2043. newPathFile
  2044. cASYM_SetCurrentDirectory
  2045. propValue
  2046. SourceBookPath
  2047. asym_AskForPath
  2048. buttonClick
  2049. buttonClick
  2050.     oldDir = ASYM_CurrentDirectory()
  2051.     fieldRef = 
  2052. "SourceBookPath"
  2053. propValue 
  2054.     newPathFile = asym_AskForPath(
  2055. asym_GetString("
  2056. t"),\
  2057. ASYM_SetCurrentDirectory(
  2058. exclude
  2059. Different Destination
  2060. DestinationBookPath
  2061. propValue
  2062. propValue
  2063. SourceBookPath
  2064. enterPage
  2065. DestinationBookPath
  2066. propValue
  2067. propValue
  2068. SourceBookPath
  2069. fixup
  2070. propValue
  2071. buttonClick
  2072. DestinationBookPath
  2073. trueValue
  2074. propValue
  2075. propValue
  2076. propValue
  2077. notifyAfter 
  2078. opropValue = 
  2079. "SourceBookPath" \
  2080. "DestinationBookPath"
  2081. fixup
  2082. buttonClick
  2083.     fld = 
  2084. trueValue 
  2085. propValue
  2086. Different &Destination Directory:
  2087. DestinationBookPath
  2088. Destination dir
  2089. ASYM_CurrentDirectory
  2090. ScriptWalker
  2091. propValue
  2092. GetScriptWalkIni
  2093. enterPage
  2094. center
  2095. ASYM_Ellipsize
  2096. trueValue
  2097. propValue
  2098. enterField
  2099. trueValue
  2100. propValue
  2101. trueValue
  2102. leaveField
  2103. notifyBefore 
  2104. GetScriptWalkIni("ScriptWalker","Destination dir")
  2105. ASYM_CurrentDirectory()
  2106. opropValue = 
  2107. otrueValue = 
  2108.         cnt = 
  2109. = ASYM_Ellipsize(
  2110. "..." 
  2111. dbTable
  2112. G:\MTB40\LIBRARY\
  2113. trueValue
  2114. outFile
  2115. oldPath
  2116. oldDir
  2117. DestinationBookPath
  2118. fixup
  2119. fieldRef
  2120. asym_GetString
  2121. Destination Directory
  2122. propValue
  2123. ASYM_CurrentDirectory
  2124. newPathFile
  2125. cASYM_SetCurrentDirectory
  2126. propValue
  2127. asym_AskForPath
  2128. different destination
  2129. buttonClick
  2130. buttonClick
  2131.     oldDir = ASYM_CurrentDirectory()
  2132.     fieldRef = 
  2133. "DestinationBookPath"
  2134.     oldPath = propValue 
  2135.     newPathFile = asym_AskForPath(
  2136. asym_GetString("
  2137. fixup 
  2138. B"different destination"
  2139. ASYM_SetCurrentDirectory(
  2140. d!t!T8
  2141. exclude
  2142. Source Book Name E&xtension:
  2143. R"d"[
  2144. 3dField
  2145. tbk_wid_type
  2146. 3D field
  2147. CTB_WID_Info
  2148. CTB_WID_Author
  2149. 970817
  2150. CTB_WID_CreateDate
  2151. !J#>(
  2152. Source Book Extension
  2153. Source Book Extension
  2154. ScriptWalker
  2155. GetScriptWalkIni
  2156. enterPage
  2157. propValue
  2158. Source Book Extension
  2159. SetScriptWalkIni
  2160. ScriptWalker
  2161. enterField
  2162. propValue
  2163. propValue
  2164. Sorry, wildcards are not allowed.
  2165. ASYM_GetString
  2166. leaveField
  2167. notifyBefore 
  2168.     ext = GetScriptWalkIni("ScriptWalker","Source Book Extension")
  2169. E"tbk"
  2170. SetScriptWalkIni("
  2171. opropValue)
  2172.     p = 
  2173. ~(".", 
  2174. p > 0
  2175. c"*" 
  2176. ASYM_GetString("Sorry, wildcards are 
  2177. xallowed.")
  2178. string
  2179. propType
  2180. Different Extension
  2181. Destination Book Extension
  2182. propValue
  2183. Source Book Extension
  2184. propValue
  2185. enterPage
  2186. Destination Book Extension
  2187. propValue
  2188. Source Book Extension
  2189. propValue
  2190. fixup
  2191. Destination Book Extension
  2192. propValue
  2193. buttonClick
  2194. trueValue
  2195. Destination Book Extension
  2196. propValue
  2197. propValue
  2198. propValue
  2199. notifyAfter 
  2200. opropValue = 
  2201. "Source Book Extension" \
  2202. "Destination 
  2203. fixup
  2204. buttonClick
  2205.     fld = 
  2206. trueValue 
  2207. propValue
  2208. Use Different &Extension for 
  2209. ^/p/[
  2210. 3dField
  2211. tbk_wid_type
  2212. 3D field
  2213. CTB_WID_Info
  2214. CTB_WID_Author
  2215. 970817
  2216. CTB_WID_CreateDate
  2217. .V0v0
  2218. Destination Book Extension
  2219. string
  2220. propType
  2221. trueValue
  2222. oldText
  2223. Change TB Version strings
  2224. tb30 to tb40
  2225. Scriptwalker
  2226. SetIniVar
  2227. GetIniVar
  2228. tb40win.dll
  2229. propValue
  2230. GetScriptWalkIni
  2231. enterPage
  2232. s_fixVersionNumbersInScripts
  2233. false
  2234. truefalse
  2235. propValue
  2236. propValue
  2237. propValue
  2238. buttonClick
  2239. notifyBefore 
  2240. X"tb40win.dll"
  2241.         INT SetIniVar(STRING,
  2242.  GetIniVar(
  2243. opropValue = GetScriptWalkIni("Scriptwalker","tb30 
  2244. 4s_fixVersionNumbersInScripts
  2245. "truefalse"
  2246. buttonClick
  2247. &Change every occurence of "tb30" 
  2248. Change Generic Version strings
  2249. SetIniVar
  2250. GetIniVar
  2251. tb40win.dll
  2252. Scrwalk
  2253. sysfiles tb30 to tb40
  2254. propValue
  2255. GetScriptWalkIni
  2256. enterPage
  2257. s_fixVersionNumbersInScripts
  2258. false
  2259. truefalse
  2260. propValue
  2261. propValue
  2262. propValue
  2263. buttonClick
  2264. notifyBefore 
  2265. X"tb40win.dll"
  2266.         INT SetIniVar(STRING,
  2267.  GetIniVar(
  2268. opropValue = GetScriptWalkIni("Scrwalk","sysfiles tb30 
  2269. 4s_fixVersionNumbersInScripts
  2270. "truefalse"
  2271. buttonClick
  2272. &Change script references to MTB3.0
  2273. buttonClick
  2274. buttonClick
  2275. default
  2276. Cancel
  2277. closeThisWindow
  2278. buttonClick
  2279. buttonClick
  2280. closeThisWindow
  2281. escape
  2282. &Cancel
  2283. %ASYM_WinHelp
  2284. buttonClick
  2285. buttonClick
  2286. ASYM_WinHelp(102)
  2287. &Help
  2288. Progress
  2289. author
  2290. enterPage
  2291. leavePage
  2292. notifyBefore 
  2293. Current file
  2294. enterPage
  2295. reset
  2296. notifyBefore 
  2297. notifybefore reset
  2298. >(A@A
  2299. Progress indicator
  2300. 210,4305,5850,4530
  2301. defBounds
  2302. track
  2303. 240,4335,5820,4515
  2304. defbounds
  2305. enterPage
  2306. author
  2307. leavePage
  2308. reset
  2309. enterPage
  2310. 940919154705811756825
  2311. ASYM_TpID
  2312. NUI Dialog Boarder
  2313. topBorder
  2314. bottomBorder
  2315. bkgndSize
  2316.     ssm = sysSuspendMessages
  2317. "0,0"
  2318.             bkgndSize = 
  2319.         topBorder = 
  2320.         bottomBorder = 
  2321. sysPageUnitsPerPixel,(
  2322. !el),
  2323. ,el,(4 * 
  2324. ;el),
  2325. Oel, (4 * 
  2326. sel,(
  2327. el),(
  2328. el),(
  2329. el),(
  2330. el), (4 * 
  2331.  = ssm
  2332. 3DDialogBorder
  2333. tbk_wid_name
  2334. 3DDialogBorder
  2335. tbk_wid_type
  2336. Dialog frame
  2337. CTB_WID_Info
  2338. CTB_WID_Author
  2339. 940817
  2340. CTB_WID_CreateDate
  2341. defaultButton
  2342. Button id 48 of Page id 66
  2343. defBtn
  2344. needFix
  2345. Button id 244 of Page id 66
  2346. refBtn
  2347. Button id 49 of Page id 66
  2348. cancelBtn
  2349. Button id 48 of Page id 66
  2350. refFocus
  2351. author
  2352. keyDown
  2353. enterPage
  2354. Button id 48 of Page id 66
  2355. Cover
  2356. Batch Walk Scripts
  2357. Walk Scripts One
  2358. .&+    h
  2359.     ,    #?
  2360. cancel
  2361. tbkToolsDlg
  2362. Property browser
  2363. Edit Value
  2364. FchooseFontDlg
  2365. propEdit
  2366. Tsetprop
  2367. bold,italic
  2368. propVal
  2369. \updateBrowser
  2370. uProp
  2371. retcolor
  2372. CannotEditNDArray
  2373. tbk_bookRef
  2374. dummy2D =
  2375. retval
  2376. qrgbtohls
  2377. <Add new>
  2378. curType
  2379. tb30win.dll
  2380. propValue
  2381. script
  2382. "tbk_wid_currentTab
  2383. TabFolder
  2384. dlgString
  2385. edit1DArray
  2386. regular
  2387. stbk_propTypes
  2388. Edit Property
  2389. boolean
  2390. Ntbk_GetString
  2391. colortype
  2392. pageRef
  2393. HLStoRGB
  2394. rgbtohls
  2395. upropsdlg
  2396. Add system variable
  2397. stbk_curOb
  2398. Add UserProperty
  2399. uprop
  2400. setupstring
  2401. window cancelled
  2402. _edit1Darray
  2403. sysVarValue
  2404. dummy1D =
  2405. _edit2Darray
  2406. curOb
  2407. colorPaletteDlg
  2408. bookRef
  2409. isSysVar
  2410. custom
  2411. TsetProp
  2412. nextValue
  2413. multiLine
  2414. fstyle
  2415. 1%"6h9"
  2416. 1%"ViV#|
  2417. 1%"js$
  2418. 1'"6l
  2419. {%("<
  2420. .[(">Z#m
  2421. Q$Z#/
  2422. 0+y$j
  2423. 2[("A
  2424. 1("t    
  2425. 1['"B
  2426. WFW17       
  2427. WFW18       
  2428. WFW19       
  2429. WFW2        
  2430. WFW20       
  2431. WFW21       
  2432. WFW22       
  2433. WFW23       
  2434. WFW24       
  2435. WFW25       
  2436. WFW26       
  2437. WFW27       
  2438. WFW28       
  2439.